//
//  huaihecomingVC.m
//  huaihe
//
//  Created by 暗流澎涌 on 2024/3/7.
//

#import "huaihecomingVC.h"
#import "huaiheManger.h"
@interface huaihecomingVC ()
@property (weak, nonatomic) IBOutlet UIButton *guardBut;

@property (weak, nonatomic) IBOutlet UIImageView *bgImageV;

@end

@implementation huaihecomingVC

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController.navigationBar setHidden: YES];
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [self.navigationController.navigationBar setHidden: NO];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.guardBut.tag = 3;
    
}
- (IBAction)clickButTO:(id)sender {
    
    
    if (self.guardBut.tag == 3){
        self.guardBut.tag = 2 ;
        self.bgImageV.image = [UIImage imageNamed:@"guideTwo"];
        return;
    }
    
    if (self.guardBut.tag == 2){
        self.guardBut.tag = 1 ;
        self.bgImageV.image = [UIImage imageNamed:@"guideoThree"];
        return;
    }
    
    if (self.guardBut.tag == 1){
        [huaiheManger setmuicLong:900];//初始化15分钟
        [huaiheManger setfirstComing];
    }
}

@end
